home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / appletalk / netatalk / afs / afsprivsrc.sit.hqx / AFS Privileges 1.50 / AShare.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-21  |  3.1 KB  |  94 lines

  1. /*
  2. ****************************************************************************
  3. *Copyright 1992 Regents of The University of Michigan - All Rights Reserved*
  4. *                                                                          *
  5. * Permission to use, copy, modify, and distribute this software and its    *
  6. * documentation for any purpose and without fee is hereby granted,         *
  7. * provided that the above copyright notice appears in all copies and that  *
  8. * both that copyright notice and this permission notice appear in          *
  9. * supporting documentation, and that the name of The University of Michigan*
  10. * not be used in advertising or publicity pertaining to distribution of    *
  11. * the software without specific, written prior permission. This software   *
  12. * is supplied as is without expressed or implied warranties of any kind.   *
  13. *                                                                          *
  14. *            Center for Information Technology Integration                 *
  15. *                  Information Technology Division                         *
  16. *                     The University of Michigan                           *
  17. *                       519 W. William Street                              *
  18. *                     Ann Arbor, Michigan 48103                            *
  19. *                         +1 313-764-5440                                  *
  20. *                       FAX: +1 313-764-4434                               *
  21. *                        info@citi.umich.edu                               *
  22. *                        kilroy was here                                   *
  23. ****************************************************************************
  24. */      
  25.  
  26. /*    Structure for AppleShare 2.0.1 VCB.  Other versions my be drastically different...
  27.     Documented by Dave Koziol.
  28.     Unearthed by Mark Smith and Wes Craig.
  29. */
  30.  
  31. typedef struct {
  32.     struct QElem *    qLink;
  33.     short            qtype;
  34.     short            vcbFlags;
  35.     short            vcbSigWord;
  36.     long            vcbCrDate;
  37.     long            vcbLsMod;
  38.     short            vcbAtrb;
  39.     short            vcbNmFls;
  40.     short            vcbVBMSt;
  41.     short            vcbAllocPtr;
  42.     short            vcbNmAlBlks;
  43.     long            vcbAlBlkSiz;
  44.     long            vcbClpSIz;
  45.     short            vcbAlBlSt;
  46.     long            vcbNxtCNID;
  47.     short            vcbFreeBks;
  48.     char            vcbVN[28];
  49.     short            vcbDrvNum;
  50.     short            vcbDRefNum;
  51.     short            vcbFSID;
  52.     short            vcbVRefNum;
  53.     Ptr                vcbMAdr;
  54.     Ptr                vcbBufAdr;
  55.     short            vcbMLen;
  56.     short            vcbDirIndex;
  57.     short            vcbDirBlk;
  58.     long            vcbVolBkUp;
  59.     short            vcbVSeqNum;
  60.     long            vcbWrCnt;
  61.     long            vcbXTClpSiz;
  62.     long            vcbCTClpSiz;
  63.     short            vcbNmRtDirs;
  64.     long            vcbFilCnt;
  65.     long            vcbDirCnt;
  66.     long            vcbFndrInfo[8];
  67.     short            vcbVCSize;
  68.     short            vcbVBMCSiz;
  69.     short            vcbCtlCSiz;
  70.     short            vcbXTAlBlks;
  71.     short            vcbCTAlBlks;
  72.     short            vcbXTRef;
  73.     short            vcbCTRef;
  74.     Ptr                vcbCtlBuf;
  75.     long            vcbDirIDM;
  76.     short            vcbOffsM; 
  77.     short            junk1;            /* These fields aren't really, just, but I don't */
  78.     short            junk2;            /* know what's in them yet... */
  79.     short            vcbSRefNum;
  80.     short            vcbServerVol;
  81.     long            vcbServerAddr;
  82.     short            junk4;
  83.     short            junk5;
  84.     short            junk6;
  85.     short            junk7;
  86.     char            junk8;
  87.     unsigned char    vcbLoginMethod;
  88.     char            vcbUserName[32];
  89.     char            junk9[64];
  90.     long            vcbLocalHand;
  91.     char            junk10[260];
  92.     char            vcbFindWhere[64];
  93. } AVCB;
  94.